//
//  DoubleBtnCell.h
//  Estate
//
//  Created by heyong on 16/9/19.
//  Copyright © 2016年 ttsx. All rights reserved.
//

//@interface doubleBtn : UIButton
//
//@end
//
//@implementation doubleBtn
//- (instancetype)initWithFrame:(CGRect)frame{
//    self=[super initWithFrame: frame];
//    if(self){
//        if(self.selected){
//            self.backgroundColor=[UIColor colorWithRed:0.09 green:0.59 blue:0.54 alpha:1.00];
//            [self setTitleColor:[UIColor colorWithRed:0.62 green:0.62 blue:0.62 alpha:1.00] forState:UIControlStateNormal];
//        }else{
//            self.backgroundColor=[UIColor colorWithRed:0.93 green:0.93 blue:0.93 alpha:1.00];
//            [self setTitleColor:[UIColor colorWithRed:0.84 green:0.89 blue:0.88 alpha:1.00] forState:UIControlStateNormal];
//        }
//    }
//    return self;
//}
//@end
#import <UIKit/UIKit.h>

typedef void(^routineClickBtn)(void);

@interface DoubleBtnCell : UITableViewCell

@property (copy,nonatomic)void(^extraClickBtn)(void);
@property (copy,nonatomic) routineClickBtn rountine;

@property (strong, nonatomic)UIButton *extraBtn;
@property (strong, nonatomic)UIButton *routineBtn;
@property (assign, nonatomic)BOOL edit;
+ (instancetype)cellWithTableView:(UITableView *)tableView;

@end
